package com.spzx.manager.service;

import com.spzx.model.entity.product.Category;
import jakarta.servlet.http.HttpServletResponse;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * Project: spzx-parent
 * Package: com.spzx.manager.service
 * Version: 1.0
 * <p>
 * Created by  wangjiaxin  on 2024/3/2 08:05
 */
public interface CategoryService {
    //分类列表，每次只查询一层
    List<Category> findByParentId(Long parentId);

    //分类到导出
    void exportData(HttpServletResponse response);

    //分类数据导入
    void importData(MultipartFile file);
}
